package com.sopragroup.dojo.webflow.trip;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

public class Trip  implements Serializable  {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6651502016556167375L;
	@NotNull
	private String city;
	@NotNull
	private Integer availableSeats;

	public Trip(String city, int availableSeats) {
		this.city = city;
		this.availableSeats = availableSeats;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Integer getAvailableSeats() {
		return availableSeats;
	}

	public void setAvailableSeats(Integer availableSeats) {
		this.availableSeats = availableSeats;
	}
}
